package com.dyc.caradvertisting.ui.fmt.login;


import com.njh.tools.base.BaseModel;
import com.njh.tools.base.BasePresenter;
import com.njh.tools.base.BaseView;

import rx.Observable;

/**
 * Home抽象类
 */
public interface LoginContract {
    interface Model extends BaseModel {
        /**
         * 用户登录接口
         * @param path
         * @param act
         * @param param
         * @param sign
         * @param strtime
         * @return
         */
       Observable reqUserlogin(String path,
                                     String act,
                                     String param,
                                     String sign,
                                     String strtime);
    }


    interface View extends BaseView {
        //关闭
      void finish();
    }

    abstract class Presenter extends BasePresenter<Model, View> {
        public abstract void reqUserlogin(String param);
    }
}